﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xajhzwb.Components.Data
{
    public class PublishWebData
    {
        private int m_ID;
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        private string m_Name;
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }
        
        private string m_UrlChk;
        public string UrlChk
        {
            get { return m_UrlChk; }
            set { m_UrlChk = value; }
        }

        private string m_UrlPost;
        public string UrlPost
        {
            get { return m_UrlPost; }
            set { m_UrlPost = value; }
        }
        
        private string m_UrlReply;
        public string UrlReply
        {
            get { return m_UrlReply; }
            set { m_UrlReply = value; }
        }
        
        private bool m_IsReply;
        public bool IsReply
        {
            get { return m_IsReply; }
            set { m_IsReply = value; }
        }
        
        private int m_TitleMin;
        public int TitleMin
        {
            get { return m_TitleMin; }
            set { m_TitleMin = value; }
        }

        private int m_TitleMax;
        public int TitleMax
        {
            get { return m_TitleMax; }
            set { m_TitleMax = value; }
        }

        private int m_ContentMin;
        public int ContentMin
        {
            get { return m_ContentMin; }
            set { m_ContentMin = value; }
        }

        private int m_ContentMax;
        public int ContentMax
        {
            get { return m_ContentMax; }
            set { m_ContentMax = value; }
        }
        
        private bool m_IsUbb;
        public bool IsUbb
        {
            get { return m_IsUbb; }
            set { m_IsUbb = value; }
        }
        
        private bool m_IsCrlf;
        public bool IsCrlf
        {
            get { return m_IsCrlf; }
            set { m_IsCrlf = value; }
        }

        private string m_CodePage;
        public string CodePage
        {
            get { return m_CodePage; }
            set { m_CodePage = value; }
        }

        private bool m_IsForcePost;
        public bool IsForcePost
        {
            get { return m_IsForcePost; }
            set { m_IsForcePost = value; }
        }
        
        private int m_PostSort;
        public int PostSort
        {
            get { return m_PostSort; }
            set { m_PostSort = value; }
        }
        
        private bool m_IsSelfChk;
        public bool IsSelfChk
        {
            get { return m_IsSelfChk; }
            set { m_IsSelfChk = value; }
        }

        private int m_ChkMode;
        public int ChkMode
        {
            get { return m_ChkMode; }
            set { m_ChkMode = value; }
        }

        //private bool m_IsYmUploadDir;
        //public bool IsYmUploadDir
        //{
        //    get { return m_IsYmUploadDir; }
        //    set { m_IsYmUploadDir = value; }
        //}
        
        //private string m_UploadDir;
        //public string UploadDir
        //{
        //    get { return m_UploadDir; }
        //    set { m_UploadDir = value; }
        //}
        
        private string m_PostTitle;
        public string PostTitle
        {
            get { return m_PostTitle; }
            set { m_PostTitle = value; }
        }

        private string m_PostContent;
        public string PostContent
        {
            get { return m_PostContent; }
            set { m_PostContent = value; }
        }
        
        private string m_PostPara;
        public string PostPara
        {
            get { return m_PostPara; }
            set { m_PostPara = value; }
        }

        private string m_PostOtherPara;
        public string PostOtherPara
        {
            get { return m_PostOtherPara; }
            set { m_PostOtherPara = value; }
        }

        private string m_PostUser;
        public string PostUser
        {
            get { return m_PostUser; }
            set { m_PostUser = value; }
        }

        private bool m_IsFtp;
        public bool IsFtp
        {
            get { return m_IsFtp; }
            set { m_IsFtp = value; }
        }

        private bool m_IsFtpPasv;
        public bool IsFtpPasv
        {
            get { return m_IsFtpPasv; }
            set { m_IsFtpPasv = value; }
        }

        private string m_FtpServer;
        public string FtpServer
        {
            get { return m_FtpServer; }
            set { m_FtpServer = value; }
        }

        private int m_FtpPort;
        public int FtpPort
        {
            get { return m_FtpPort; }
            set { m_FtpPort = value; }
        }

        private string m_FtpUser;
        public string FtpUser
        {
            get { return m_FtpUser; }
            set { m_FtpUser = value; }
        }

        private string m_FtpPass;
        public string FtpPass
        {
            get { return m_FtpPass; }
            set { m_FtpPass = value; }
        }

        private string m_FtpDir;
        public string FtpDir
        {
            get { return m_FtpDir; }
            set { m_FtpDir = value; }
        }

        private bool m_IsDelDownFile;
        public bool IsDelDownFile
        {
            get { return m_IsDelDownFile; }
            set { m_IsDelDownFile = value; }
        }

        private int m_TransLang;
        public int TransLang
        {
            get { return m_TransLang; }
            set { m_TransLang = value; }
        }

        private string m_TransParas;
        public string TransParas
        {
            get { return m_TransParas; }
            set { m_TransParas = value; }
        }

        private bool m_IsLogin;
        public bool IsLogin
        {
            get { return m_IsLogin; }
            set { m_IsLogin = value; }
        }

        private string m_LoginUrl;
        public string LoginUrl
        {
            get { return m_LoginUrl; }
            set { m_LoginUrl = value; }
        }

        private string m_PostCookies;
        public string PostCookies
        {
            get { return m_PostCookies; }
            set { m_PostCookies = value; }
        }

        private string m_PostOkCode;
        public string PostOkCode
        {
            get { return m_PostOkCode; }
            set { m_PostOkCode = value; }
        }

        private int m_Sort;
        public int Sort
        {
            get { return m_Sort; }
            set { m_Sort = value; }
        }

        private int m_ClassID;
        public int ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }


        private List<PostParas> m_PostParas;
        public List<PostParas> WebPostParas
        {
            get { return m_PostParas; }
            set { m_PostParas = value; }
        }

        private List<string> m_PostOtherParas;
        public List<string> PostOtherParas
        {
            get { return m_PostOtherParas; }
            set { m_PostOtherParas = value; }
        }

        private List<string> m_PostUsers;
        public List<string> PostUsers
        {
            get { return m_PostUsers; }
            set { m_PostUsers = value; }
        }
    }

    public class PostParas
    {
        private string m_ParaName;
        public string ParaName
        {
            get { return m_ParaName; }
            set { m_ParaName = value; }
        }

        private string m_ParaValue;
        public string ParaValue
        {
            get { return m_ParaValue; }
            set { m_ParaValue = value; }
        }
    }


}
